﻿@model BlogMVC.ModelEntity.Category

@{
    ViewBag.Title = "Create";

    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}






<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <h2>Create</h2>
    <div class="formCategory">

        <div class="lable">Name*</div>  
            @Html.TextAreaFor(model => model.ArticleName, new { @class = "hhh" })

     <div class="khung">
        <div class="lable"><span> Publish Date</span></div>  
            @Html.EditorFor(model => model.PublishDate)
        </div>

      <div class="khung">
        <div class="lable"><span> flag</span></div>  
            @Html.EditorFor(model => model.flag)
        </div>

     <div class = "khung">
         <p> 
            <input type="submit" value="Create" />
        </p>
       </div>

    </div>
}


<div>
  <h2>@Html.ActionLink("Back to List", "Index")</h2>
</div>

